 window.windowEnvir = 'dev';
(function() {
  // 配置
  var envir = window.windowEnvir;
  var configMap = {
    dev: {
      appkey: 'd3a522dfe02eb8d10c5dbe0b4ef12bc2',
      url: 'https://app.netease.im',
      chatroomList: 'https://app.netease.im/api/chatroom/homeList',
      chatroomAddr: 'https://app.netease.im/api/chatroom/requestAddress',
      websiteUrl:'https://twww.winhc.net'
    },
    firefly: {
      appkey: '81620cced987e6179e0abc949c5cef0a',
      url: 'https://app.netease.im',
      chatroomList: 'https://app.netease.im/api/chatroom/homeList',
      chatroomAddr: 'https://app.netease.im/api/chatroom/requestAddress',
      websiteUrl:'https://www.winhc.cn'
    },
  };
  window.CONFIG = configMap[envir];
  // 是否开启订阅服务
  window.CONFIG.openSubscription = true;
  
})()
